Generating SQL to Implement Enhanced Association Semantics
نویسندگان
چکیده
UML class diagrams provide notations to model the semantics of the structural relationships, i.e., associations, that occur between objects. These diagrams can be extended with Object Relationship Notation (ORN) to provide for the modeling of enhanced association semantics. While previous work has shown that the association semantics defined by ORN can be directly defined to and supported by an enhanced object DBMS, we have not addressed how such semantics can be implemented in a relational DBMS. Here, we provide a brief overview of ORN and show the degree to which standard SQL can be automatically generated to implement associations modeled in ORN-extended class diagrams. The tool we use to perform the generation is a Web-accessible, prototype modeling tool called the ORN Simulator. The benefits of such generation can be improved productivity in developing database systems and increased system reliability.
منابع مشابه
The Difficulty of Mapping Modeled Associations to SQL
Entity-Relationship and UML class diagrams allow users to model the structural relationships, i.e., associations, that occur between entities or objects. By extending these diagrams with Object Relationship Notation (ORN), users can model the semantics of a variety of common association types with improved precision. Mapping these semantics to SQL, however, is very difficult. Here, we provide a...
متن کاملA Novel Text Classification Approach Based on Enhanced Association Rule
The current research on association rule based text classification neglected several key problems. First, weights of elements in profile vectors may have much impact on generating classification rules. Second, traditional association rule lacks semantics. Increasing semantic of association rule may help to improve the classification accuracy. Focusing on the above problems, we propose a new cla...
متن کاملTest-Case Generation for SQL Nested Queries with Existential Conditions
This paper presents a test-case generator for SQL queries. Starting with a set of related SQL views that can include existential subqueries in the conditions, the technique finds a database instance that can be used as a test-case for the target view. The proposal reduces the problem of generating the test-cases to a Constraint Satisfaction Problem using finite domain constraints. In particular...
متن کاملGenerating SQL Queries from SBVR Rules
Declarative technologies have made great strides in expressivity between SQL and SBVR. SBVR models are more expressive that SQL schemas, but not as imminently executable yet. In this paper, we complete the architecture of a system that can execute SBVR models. We do this by describing how SBVR rules can be transformed into SQL DML so that they can be automatically checked against the database u...
متن کاملIncorporating Hypothetical Views and Extended Recursion into SQL Database Systems
Current database systems supporting recursive SQL impose restrictions on queries such as linearity, and do not implement mutual recursion. In a previous work we presented the language and prototype R-SQL to overcome those drawbacks. Now we introduce a formalization and an implementation of the database system HR-SQL that, in addition to extended recursion, incorporates hypothetical reasoning in...
متن کامل